//对象字面量
/*
var phone = {
	brand:"小米",
	color:"黑色",
	id: "小米11",
	"made-in":"深圳"
};
console.log(phone);
*/
/*
var laptop = {
	lid: 1,
	title: "小米Air",
	price: 4199,
	isOnsale: true,
	"stock-count":200
}
	laptop.pic = "xiaomi.jpg"
	console.log(laptop["pic"])
*/
	var book = {
		bid: 02,
		bname:"js",
		author:"dashen",
		price:"$20"
	}
	book.price="$15";
	book["publish"]= "高级出版社"
	console.log(book.bname);
	console.log(book);

